package com.poppy;

import org.nutz.mvc.NutConfig;
import org.nutz.mvc.Setup;

import com.poppy.aop.SuppAop;
import com.poppy.modules.UserModule;

public class MainSetup implements Setup {

	@Override
	public void init(NutConfig nc) {
		SuppAop d = nc.getIoc().get(SuppAop.class);
		System.out.println(d);
		System.out.println(nc.getIoc());
		System.out.println(nc.getIoc().get(UserModule.class).ping());
	}

	@Override
	public void destroy(NutConfig nc) {

	}

}
